<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
	<title>用户列表</title>
</head>
<body> 
    
      <table border="5">
     	 	<tr>
      			<td>用户名</td>
      			<td>真实姓名</td>
      			<td>生日</td>
      		</tr>
      	<c:forEach items="${userList}" var="user">
      		<tr>
      			<td>${user.userName }</td>
      			<td>${user.realName }</td>
      			<td><fmt:formatDate value="${user.birthday}" pattern="yyyy-MM-dd"/></td>
      		</tr>
      	</c:forEach>
      </table>
</body>
</html>